package cn.snowheart.scanner;

import lombok.extern.slf4j.Slf4j;
import org.cent.scanner.core.callback.ScannerCallback;

import java.util.List;
import java.util.function.Consumer;

/**
 * @author liuwanxiang
 * @version 2019/06/25
 */
@Slf4j
public class Callback implements ScannerCallback {
    @Override
    public void callback(List<Class> clzs) {
        clzs.stream().forEach(clz -> log.info(clz.getName()));

        log.info("end...");
    }
}
